@Defines@<:#284,9360><:f240,2Times New Roman,0,0,0><+,>Define MoveWindow() DllCall("User,MoveWindow,HHHHHHA",%1,%2,%3,%4,%5,%6)<-,>
@Defines@<:#284,9360><+,><:f240,2Times New Roman,0,0,0>Define Get<-,><+,>Size() DllCall("user,GetWindowRect,HHN",%1,%2)<-,>
@Function@<:#284,9360><:f240,2Times New Roman,0,0,0>
@Function@<:#284,9360><:f240,2Times New Roman,0,0,0>function begin(hdlg)
<:#284,9360><:f240,2Times New Roman,0,0,0>thisfile = getrunningmacrofile$()<:f>
<:#284,9360>ip="c:\amipro\icons\dlgicos"
<:#284,9360>Viewopts=GetViewPrefOpts()
<:#284,9360>Viewlevel=GetViewPrefLevel()
<:#284,9360><:f240,2Times New Roman,0,0,0>metrics = getprofilestring$("wht-view<:f><:f240,2Times New Roman,0,0,0>", "Metrics", "{windir}amipro2.ini")
<:#284,9360><:f240,2Times New Roman,0,0,0> if metrics != ""
<:#284,9360><:f240,2Times New Roman,0,0,0> setdlgcallback(0, "{thisfile}!init")
<:#284,9360><:f240,2Times New Roman,0,0,0> endif<:f>
<:#284,9360><:f240,2Times New Roman,0,0,0>setdlgcallback(20,"manualVL")
<:#284,9360><:f240,2Times New Roman,0,0,0>setdlgcallback(21<:f><:f240,2Times New Roman,0,0,0>, "{thisfile}!curloc")
<:#284,9360><:f240,2Times New Roman,0,0,0>setdlgcallback(95<:f><:f240,2Times New Roman,0,0,0>00<:f><:f240,2Times New Roman,0,0,0>, "{thisfile}!vprefs"<:f><:f240,2Times New Roman,0,0,0>)<:f>
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>DlgKeyInterrupt(<[>F1], "HelpFun") ' This if F1
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>,"{Vie<:f><:f240,2Times New Roman,0,0,0>wlevel<:f><:f240,2Times New Roman,0,0,0>}<:f><:f240,2Times New Roman,0,0,0>%")<:f>
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>filledit(9500<:f><:f240,2Times New Roman,0,0,0>,"clean")
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>,"facing<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>,"fullpage<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>,"margins<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Viewlevel=<:f><:f240,2Times New Roman,0,0,0> 25
<+C><:#284,9360><:f240,2Times New Roman,0,0,0> filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 25%<:f><:f240,2Times New Roman,0,0,0>
<\W>")<:f>
<+C><:#284,9360> else <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 25%<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360> endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Viewlevel=<:f><:f240,2Times New Roman,0,0,0> 50<:f>
<+C><:#284,9360> <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 50%<:f><:f240,2Times New Roman,0,0,0>
<\W>")<:f>
<+C><:#284,9360> else <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 50%<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360> endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Viewlevel=<:f><:f240,2Times New Roman,0,0,0> 75<:f>
<+C><:#284,9360> <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 75<:f><:f240,2Times New Roman,0,0,0>%<:f><:f240,2Times New Roman,0,0,0>
<\W>")<:f>
<+C><:#284,9360> else <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 75<:f><:f240,2Times New Roman,0,0,0>%<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360> endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Viewlevel=100<:f>
<+C><:#284,9360> <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 100<:f><:f240,2Times New Roman,0,0,0>%
<\W><:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360> else <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 100<:f><:f240,2Times New Roman,0,0,0>%<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360> endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Viewlevel=15<:f><:f240,2Times New Roman,0,0,0>0<:f>
<+C><:#284,9360> <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 15<:f><:f240,2Times New Roman,0,0,0>0<:f><:f240,2Times New Roman,0,0,0>%<:f><:f240,2Times New Roman,0,0,0>
<\W>")<:f>
<+C><:#284,9360> else <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 15<:f><:f240,2Times New Roman,0,0,0>0<:f><:f240,2Times New Roman,0,0,0>%<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360> endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Viewlevel=2<:f><:f240,2Times New Roman,0,0,0>00<:f>
<+C><:#284,9360> <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 2<:f><:f240,2Times New Roman,0,0,0>00<:f><:f240,2Times New Roman,0,0,0>%<:f><:f240,2Times New Roman,0,0,0>
<\W>")<:f>
<+C><:#284,9360> else <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 2<:f><:f240,2Times New Roman,0,0,0>00<:f><:f240,2Times New Roman,0,0,0>%<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360> endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Viewlevel=25<:f><:f240,2Times New Roman,0,0,0>0<:f>
<+C><:#284,9360> <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 25<:f><:f240,2Times New Roman,0,0,0>0<:f><:f240,2Times New Roman,0,0,0>%<:f><:f240,2Times New Roman,0,0,0>
<\W>")<:f>
<+C><:#284,9360> else <:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," 25<:f><:f240,2Times New Roman,0,0,0>0<:f><:f240,2Times New Roman,0,0,0>%<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360> endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Getmode()=16
<+C><:#284,9360><:f240,2Times New Roman,0,0,0> filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>,"<:f><\W><:f240,2Times New Roman,0,0,0>draft<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360> else filledit(9500," draft")
<+C><:#284,9360>endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Getmode()=1<:f>
<+@><:#284,9360><:f240,2Times New Roman,0,0,0> filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>,"<:f><:f240,2Times New Roman,><\W><:f><:f240,2Times New Roman,0,0,0>layout<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360><:f240,2Times New Roman,0,0,0> else filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," layout<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360>endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>if Getmode()=48<:f>
<+C><:#284,9360><:f240,2Times New Roman,0,0,0> filledit(9500,"<:f><\W>outline")
<+C><:#284,9360><:f240,2Times New Roman,0,0,0> else filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>," outline<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360>endif
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>filledit(<:f><:f240,2Times New Roman,0,0,0>9500<:f><:f240,2Times New Roman,0,0,0>,"PREFS<:f><:f240,2Times New Roman,0,0,0>")<:f>
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>Box = DialogBox(".", "View<:f><:f240,2Times New Roman,0,0,0>")
<:#284,9360><-!><:f240,2Times New Roman,0,0,0>IF Box = -1
<:#284,9360><:f240,2Times New Roman,0,0,0>Message("Could not open dialog box; Exiting macro.")
<:#284,9360><:f240,2Times New Roman,0,0,0>EXIT FUNCTION
<:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 0
<:#284,9360><:f240,2Times New Roman,0,0,0>EXIT FUNCTION
<:#284,9360><:f240,2Times New Roman,0,0,0><:f><-!><:f240,2Times New Roman,0,0,0>ELSEIF Box =3<:f><:f><-!>